<template>
<div>
    <h1>Choose2</h1>
    <h2>{{abc}}</h2>
    <h3>{{a}}</h3>
    <h4 @click="opennewpage">open baidu.com</h4>
</div>
</template>

<script>
import axios from 'axios'
export default {
    name:'Choose2',
    data(){
        return{
            abc:123.456,
            a:123,
            b:[{'num':123,'ttt':123},{'num':456,'ttt':456}]
        }
    },
    mounted(){
        // this.abc+=(15.5*1)
        // console.log(this.abc,'^%%%%%%%%%%%');
        // this.b.splice(0,1)
        // console.log(this.b,'%%%');
        // this.$set(this.a,213)
    },
    methods:{
        opennewpage(){
            window.open(`https://www.baidu.com`)
                // this.$addr.get(`alipay/7/query`).then(
                //     response=>{
                //         console.log('查看是否支付的请求成功了',response)
                //     },
                //     error=>{
                //         console.log('查看是否支付的请求失败了',error.message)
                //     }
                // )
        }
    },
}
</script>

<style scoped>

</style>